import http from "../utils/http.js"

// 查看用户详情
export function Detail(data){
	return http({
		url:"/user/detail",
		data,
		method:"get"
	})
}
// 查看用户资产
export function Amount(data){
	return http({
		url:"/user/amount",
		data,
		method:"get"
	})
}
// 订单统计
export function Statistics(data){
	return http({
		url:"/order/statistics",
		data,
		method:"get"
	})
}
// 用户优惠劵统计
export function Coupon(data){
	return http({
		url:"/discounts/statistics",
		data,
		method:"get"
	})
}
